<template>
    <div>
        子组件
        {{zi}}
        <br>
        <button @click="fn">click</button>
    </div>
</template>

<script>
    export default {
        props:['zi'],
        methods:{
            fn(){
                this.$emit('child',369852147)
            }
        }
    }
</script>

<style scoped>

</style>